const navigation = resolve => require(['../components/widgets/spread-navigation.vue'], resolve);
const breadcrumb = resolve => require(['../components/widgets/breadcrumb.vue'], resolve);

const routes = [
    // {
    //     name: 'TestPage',
    //     path: '/testa',
    //     // meta: {
    //     //     title: '测试页A',
    //     //     menu: {
    //     //         name: '测试页A',
    //     //         parent: '',
    //     //         icon: '',
    //     //         image: ''
    //     //     }
    //     // },
    //     components: {
    //         default: resolve => require(['../views/index/test-a.vue'], resolve),
    //         navigation: navigation, breadcrumb: breadcrumb
    //     }
    // },
    {
      path: '*',
      redirect: '/organize/role-list'
    }
];

export default routes;
